<?xml version="1.0" encoding="UTF-8"?>
<!--

 Copyright (C) 2008 Alexandre da Silva <simpsomboy at gmail dot com>

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.

 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Library General Public License for more details.

 You should have received a copy of the GNU Library General Public
 License along with this library; if not, write to the
 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.

-->
<style-scheme id="twilightmod" _name="Twilight Modified" version="1.0">
  <author>Alexandre da Silva</author>
  <_description>Soft, dark color scheme</_description>

<!-- Colors -->

  <color name="foreground"    value="#F8F8F8"/>
  <color name="background"    value="#141414"/>
  <color name="currentline"   value="#1C1C1C"/>
  <color name="comment"       value="#5F5A60"/>
  <color name="diffignore"    value="#888888"/>
  <color name="linenumber"    value="#A6A6A6"/>
  <color name="string"        value="#8F9D6A"/>
  <color name="keyword"       value="#CDA869"/>
  <color name="type"          value="#9b859d"/>
  <color name="variable"      value="#7587A6"/>
  <color name="number"        value="#CF6A4C"/>
  <color name="brackets"      value="#4F94CD"/>
  <color name="regex"         value="#E9C062"/>
  <color name="error"         value="#F8F8F8"/>
  <color name="errorbg"       value="#562D56"/>
  <color name="note"          value="#F9EE98"/>
  <color name="function"      value="#9B703F"/>
  <color name="string-inter"  value="#DAEfA3"/>
  <color name="special"       value="#AC885B"/>
  <color name="rails"         value="#CCC362"/>


<!-- Global Settings -->
  <style name="text"          foreground="foreground" background="background"/>
  <style name="cursor"        foreground="foreground"/>
  <style name="current-line"  background="currentline"/>
  <style name="line-numbers"  foreground="linenumber" background="background"/>

<!-- Bracket Matching -->
  <style name="bracket-match"     background="brackets"/>
  <style name="bracket-mismatch"  foreground="error" background="errorbg" bold="true"/>
  <style name="search-match"      foreground="foreground" background="brackets"/>

<!-- Comments -->
  <style name="def:comment"             foreground="comment" italic="true"/>
  <style name="def:shebang"             foreground="comment" italic="true"/>
  <style name="def:doc-comment-element" foreground="comment" bold="true"/>

<!-- Constants and Variables-->
  <style name="def:constant"          foreground="type"/>
  <style name="def:string"            foreground="string"/>
  <style name="def:special-char"      foreground="special"/>
<!--  <style name="def:special-constant"  foreground="keyword" /> -->
  <style name="def:special-constant"  foreground="keyword"/>
  <style name="def:boolean"           foreground="number"/>
  <style name="def:number"            foreground="number"/>
  <style name="def:floating-point"    foreground="number"/>
  <!--style name="def:keyword"           foreground="keyword" bold="true"/>
  <style name="def:builtin"           foreground="keyword" bold="true"/-->
  <style name="def:keyword"           foreground="keyword"/>
  <style name="def:builtin"           foreground="keyword"/>
  <style name="def:variable"          foreground="variable"/>

<!-- Identifiers -->
  <style name="def:identifier"  foreground="variable"/>

<!-- Statements -->
  <style name="def:statement"   foreground="keyword"/>

<!-- Types -->
  <style name="def:type"        foreground="type"/>

<!-- Others -->
  <style name="def:error"                   foreground="error" background="errorbg" bold="true"/>
  <style name="def:note"                    foreground="note" bold="true"/>
  <style name="def:net-address-in-comment"  foreground="brackets" italic="false" underline="true"/>
  <style name="def:preprocessor"            foreground="linenumber"/>

<!-- Unknown? -->
  <style name="def:specials"    background="variable"/>

<!-- C Styles -->
  <style name="c:preprocessor"  map-to="def:special-char"/>

<!-- Diff Styles -->
  <style name="diff:ignore"     foreground="diffignore"/>

<!-- Ruby Styles -->
  <style name="ruby:module-handler"         foreground="keyword"/>
  <style name="ruby:simple-interpolation"   foreground="string-inter"/>
  <style name="ruby:complex-interpolation"  foreground="string-inter"/>
  <style name="ruby:nil-value"              foreground="foreground"/>
  <style name="ruby:class-definition"       foreground="type"/>
  <style name="ruby:function-definition"    foreground="function"/>
  <style name="ruby:symbol"                 foreground="number"/>
  <style name="ruby:regex"                  foreground="regex"/>
  <style name="ruby:constant"               foreground="variable"/>
  <style name="ruby:rails"                  foreground="rails"/>

<!-- SH Styles -->
  <style name="sh:others" map-to="text"/>

<!-- YAML Styles -->
<style name="yaml:inner-key"      foreground="variable"/>
<style name="yaml:scalar-value"   foreground="string"/>

<!-- XML Styles -->
  <style name="xml:attribute-name"  foreground="keyword"/>
  <style name="xml:element-name"    foreground="variable"/>

</style-scheme>

